# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pyramid-controllers
_pkgname=pyramid_controllers
pkgver=0.3.22
pkgrel=1
pkgdesc="A pyramid plugin that provides de-centralized hierarchical object dispatch"
url="http://github.com/cadithealth/pyramid_controllers"
arch="noarch"
license="MIT"
depends="python3 py3-pyramid"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-pyramid-controllers" # Backwards compatibility
provides="py-pyramid-controllers=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e2a6715d00ce871e61f193c4a9ce96c11a0ed515605aec27a83778af7c343bf890f38a79a367a3278628a73883806a1d15a8c773287425bd5e1011c57fb09531  pyramid_controllers-0.3.22.tar.gz"
